/*
 * @Description: 新增与更新弹窗内容
 * @Author: Zzt
 * @Date: 2022-12-21 17:13:30
 * @LastEditTime: 2022-12-31 11:57:38
 */
import { Form, Input } from 'antd';
import TextArea from 'antd/lib/input/TextArea';

const FromList = (props: any) => {
  const { selectUnit } = props;

  return (
    <>
      <Form.Item name="name" label="指导单名称" rules={[{ required: true }]}>
        <Input />
      </Form.Item>
      <Form.Item label="受指导单位" required>
        {selectUnit.unitName}
      </Form.Item>
      <Form.Item label="综合指导意见" name="remark" rules={[{ required: true }]}>
        <TextArea
          maxLength={2000}
          placeholder={'备注信息描述，最多可填写2000字'}
          showCount={true}
        ></TextArea>
      </Form.Item>
    </>
  );
};
export default FromList;
